<?php /* @var $obj TreeLng */ ?>
<?php if($sf_flash->has('success')):?>
    <?php echo __($sf_flash->get('success')); ?>
<?php endif; ?>
<?php echo form_tag(
        'tree/meta'
        )?>
<?php echo input_hidden_tag(
            'id'
            , $obj->getId())?>
<?php echo label_for('meta_title', __('Title for meta information') . ' (' . __('recomended MAX length') . ': ' . Tree::META_TITLE . ')')?>:
<?php echo input_tag(
                'meta_title'
                , $obj->getMetaTitle()
                , array(
                    'class' => ''
                ))
?>
<?php echo label_for('meta[description]', __('Description for meta information') . ' (' . __('recomended MAX length') . ': ' . Tree::META_DESCRIPTION . ')')?>:
<?php echo input_tag(
                'meta[description]'
                , isset($meta['description'])?$meta['description']:''
                , array(
                    'class' => ''
                ))
?>
<?php echo label_for('meta[keywords]', __('Keywords for meta information'))?>:
<?php echo input_tag(
                'meta[keywords]'
                , isset($meta['keywords'])?$meta['keywords']:''
                , array(
                    'class' => ''
                ))
?>

<?php echo submit_tag(
        __('save changes')
        , array(
            'class' => ''
        ))?>
        
<?php echo link_to(
            __('Back to tree')
            , 'tree'
            )?>
</form>